package edu.bit.water.dao;

import edu.bit.water.entity.GalleryComponent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface GalleryComponentDao {
    //增加流程图数据
    int insert(GalleryComponent galleryComponent);

    //删除流程图数据
    int deleteBatchIds(int id);

    //修改流程图数据
    int updateById(GalleryComponent galleryComponent);

    //查询所有流程图数据
    List<GalleryComponent> selectList(String companyName);

    Integer getMaxId();
}
